package com.cmj.service;

import com.cmj.domain.ResponseResult;
import com.cmj.domain.dto.RoleAddDto;
import com.cmj.domain.dto.RoleDto;
import com.cmj.domain.dto.RoleStatusDto;
import com.cmj.domain.entity.Role;

import java.util.List;

/**
 * 这是注释
 */
public interface RoleService {
    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult<Role> listAllRole();

    Long[] getAllUserRole(Long id);

    ResponseResult getRoleList(Integer pageNum, Integer pageSize, RoleDto roleDto);

    ResponseResult delRole(Integer[] ids);

    ResponseResult changeStatus(RoleStatusDto role);

    ResponseResult addRole(RoleAddDto roleAddDto);

    ResponseResult getUserRole(Long id);
}
